{include file="common/header.tpl"}
<section class="main">
    <article class="right-col">
    	<h2><a href="{$smarty.const.HOST_BACKEND}user/index">{$language.title.user}</a> &raquo; {$language.ahref.changeemail}</h2></li>       
        <form name="frmChangeEmail" id="frmChangeEmail" method="post" enctype="multipart/form-data" action="{$smarty.const.HOST_BACKEND}user/saveemail" class="ui">
            <input type="hidden" name="userid" id="userid" value="{$row.userid}" />
            <ul>
            	{if isset($smarty.session.USER_ERROR)}
                	<li class="error">
                    	{include file="common/error.tpl" errors=$smarty.session.USER_ERROR}
                    </li>
                {/if}
                <li>
                    <label for="pusername">{$language.label.username}:</label>
                    <strong class="hint">{$row.username}</strong>
                </li>
                <li>
                    <label for="pemail">{$language.label.email} <span class="required">*</span>:</label>
                    <div class="txt">
                    	<input type="text" class="text" name="email" id="email" value="{if isset($smarty.session.USER_POST.email)}{$smarty.session.USER_POST.email|escape}{else}{$row.email}{/if}" />
                    </div>
                </li>
                <li>
                    <label for="pemail_confirm">{$language.label.email_confirmation} <span class="required">*</span>:</label>
                    <div class="txt">
                    	<input type="text" class="text" name="email_confirm" id="email_confirm" value="" />
                    </div>
                </li>                           
                <li>
                    <button type="submit"><strong>{$language.btn.save}</strong></button>
                    <button type="reset"><strong>{$language.btn.reset}</strong></button>
            	</li>
         	</ul>
        </form>
  	</article>
<section>
{include file="common/footer.tpl"}
                
